package com.ruoyi.car.mapstruct;

import com.ruoyi.car.controller.admin.model.vo.CarModelAddReq;
import com.ruoyi.car.controller.admin.model.vo.CarModelEditReq;
import com.ruoyi.car.controller.admin.model.vo.CarModelResp;
import com.ruoyi.car.controller.admin.store.vo.CarStoreAddReq;
import com.ruoyi.car.controller.admin.store.vo.CarStoreEditReq;
import com.ruoyi.car.controller.admin.store.vo.CarStoreResp;
import com.ruoyi.car.entity.CarModel;
import com.ruoyi.car.entity.CarStore;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Author：流冬
 * @Package：com.ruoyi.car.mapstruct
 * @Project：RuoYi-Vue
 * @name：CarStoreTo
 * @Date：2023/6/5 20:52
 * @Filename：CarStoreTo
 * @Description
 */
@Mapper
public interface CarStoreTo {

    CarStoreTo INSTANCE= Mappers.getMapper(CarStoreTo.class);



    List<CarStoreResp> convert(List<CarStore> list);


    CarStore convert(CarStoreAddReq req);


    CarStoreResp convert(CarStore bean);

    CarStore  convert(CarStoreEditReq req);
}
